SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b50df11b2eb2a24f89294448e7c14dbfad213dad93a0488d6fed311154828971' 
  AND token = 'Lkf+eNmVNUaqICQsV74tMbJVXNMIMV/M1pJng/dmC5g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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