SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9718a6f1aaf6c6b82d98d21beafc12bf4669073c1458c0230e0c6067d09a1910' 
  AND token = 'VKPS55DyGdNevkfKwogs8/O3zRbwJl60gllx3/ioELg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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