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

Query time 0.00045

JSON explain

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