SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '766919bea830ab266414421affa4491e38fbc5f5561dea2d53a4f8b5ea916d9f' 
  AND token = 'VWUUCAk584C8wt/YPMdTH5ahtmaLvgs130dGs0y1IR4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

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