SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7fd2af3ea01a79734d38ab051928643b939b227c2fcefe305d02545c15642d60' 
  AND token = 'ub85aQhSl+J1et3tl5pQ7r1e5ZUx55WSWS5bKko2E3M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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