SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'eb4021accb9d52c8a9d198313458b965a15030482bd89377e4683a6d32d41ace' 
  AND token = 'WzrWfoObfEQw/o2T/jKAyIsomUhL2ciwEX/t5Sv/spc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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