SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e777a45f7d7c19ef8f215340bfa031997b02789aa0b190c4954cb4427f6ce3ea' 
  AND token = '+HOx+eufFhd1RdREDAmO3C+4XFqDZOlYOaUWx9iNhc8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}