SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3a5d161b6c499875f63e99fbd190bb1c7811cce932d1c4a30df202112aec8bfa' 
  AND token = 'zolTrZ4sfqlup9qHqbpWA6Z0pM6BHmEnfRGrAdaw8mI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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