SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '330ed982eb9745db27cfc26654ad9b63edd071a0df34aaff58c1cda6998a6ea5' 
  AND token = 'zQTHx4qRRvyx8K3YhFpZXj9IX57Cd+fAkmp7IBXlITE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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