SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'df50cdb391dcebf29144229edb81bb6fafc2aea4f0248f2b20869251759f8c0d' 
  AND token = 'eIra0zuFYGgQ3eTcYvs30LGUi5cDc9jesnFnGzrRKog=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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