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

Query time 0.00045

JSON explain

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