SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1235f13ad35a358627f1df7c74668a62594e12b160a1380b8f971065779283bc' 
  AND token = 'cl4Bsu4oF/b8fiWxgOJdazm/mv3mfUnZ/iF40aTleZg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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