SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '272cfe3f13e7e419f4130cfd6a683860ff77a666c1e189f561783783529bf037' 
  AND token = 'mdQzadMBwXgFnY+2yTvGhSGELVSuX5KWyWpIpd/x/S4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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