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

Query time 0.00043

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}