SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5f9659cfb9176f157500075052b48d2952727ffe08e66206ba947a916cbe713a' 
  AND token = 'utju7TU2h/w5IwBDKEPgaKA1DTeF41mE6nJ1oh1lJjg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00056

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}