SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e10df6bbefb5cd6b2ea1c6bb1006649001d21aaa136ba19279ae452e121b1be2' 
  AND token = 'McoqaKwX7EzMTFiWP/S7ayT83hN0yVTmfiXUnULc73U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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