SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cf1870360cd5a98c5edfafb4104a52e0c02992a2e2789c9c4baec3274730371b' 
  AND token = 'yvOv/ox95MUpB2Oq/lKe2VJV+itaybct0hlSIUfjD8g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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