SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '49918b0ea1c018206975b15d25fc4e8a0e004c7bbbb65f1c3a74443e2087533b' 
  AND token = 'XL+gWZtcFEwMvsKPdHMaGKZK9bCZMcZ8Giw9vNvqYDA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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