SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '988db749ea71bf13d71e46fe13054c02866365690a8d217e8d5b2e062df18257' 
  AND token = 'hPUIHy9wDyeOnvA+i3q/zN5GpB5A27fFUlyCrlA9D+A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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