SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f5e3c7797b19acfc76edd4df6adea3d4068762dd30f95dffcd1eaa673e90cc2f' 
  AND token = '4KaL647Js6B9xx/3Wq1aRtzhYlBC33uwXbOVhrgdk1Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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