SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '23f1706bd6bb53eaa2dde76a70b6c9e87ede7465ba5d1880e6861b99cb64d895' 
  AND token = 'PPnXVxsaVTOPeV2YtmSQ5ThyDUZdmJ69O73CHRLO2Rs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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