SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'afd646991f1e9f76c812129c3a417311ed0650b8dbde60d760cf2b3d59da32ba' 
  AND token = 'JnmNgIXjpnyo2GCoFBiOk3rxYCG8ZuyxY2DZwn1aNVk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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