SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b28455812342251e611083b9a53bdc68dbb54919acc2c6bcee550816e0badeb7' 
  AND token = 'yk7qYG2rZ5Z/8zaCwrPdr4PZVEdIF710StjfOUYByvo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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