SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1ff0e6ec6d36ccfa0bde5d3287e67a6ca5a4e417fc1cba33e6ef4fd97ef10546' 
  AND token = 'mVODsFyIgyJWp1Z0iE0P3xCGN8VUUCYF7C6NAipSnFA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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