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

Query time 0.00103

JSON explain

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