SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b946879ab4ea1bc7f2d82b4f7d111f330540eb19b091b9afc7b0f5fb12ea8f0f' 
  AND token = 'XZ+uXitGEdByHVkOW/mdbImH+zMkqqPyWU33q9r3siU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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