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

Query time 0.00020

JSON explain

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