SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bb351ae69608d36a7ddf468af43cbd2144d5fd62e400aa27a46f99c500164342' 
  AND token = 'tNas3wRoKjVNyuidENrKuiMnY/Q9e+5o1Ub/WZWvma4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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