SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b2a53b0eabfc5c0bc1be05767352b6f8f3770cddd2159ba0e4d4ea1c71adadd6' 
  AND token = '5QSTU670aP1eY0WPhAI7yq4tlqFulC7h8FS/sQc3OtQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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