SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '661305c5e56d61a62beab02edfad3e66f4ede76bc9dbd5b9eba107655d9f41c4' 
  AND token = 'SzP0idxV5ap1S7fayPEuUTklOEoEGdRbp2b1pTz65Q8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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