SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e313cc3abbc7fb672f5b8efb7de4d3d9cc50686f4b02f49a6ed8a42ee17ea1eb' 
  AND token = 'KHNsHf1xhtYnd/6W3HbZd9c8RtGe2TapJF+u7V2xwaE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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